<?php

//常规操作
Route::group(['middleware' => ['web']], function () {

  Route::match(['get', 'post'], 'code', 'CustomController@getCode')->name('codes'); //获取图片验证码
  Route::post('upload/{model}', 'UploadController@upload')->name('upload');//图片上传


});
